package cn.iocoder.yudao.module.member.controller.admin.user.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 会员用户分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MemberUserPageReqVO extends PageParam {

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "类型,0-个人用户 1-公司用户", example = "1")
    private Integer type;

    @Schema(description = "注册 IP")
    private String registerIp;

    @Schema(description = "注册终端")
    private Integer registerTerminal;

    @Schema(description = "最后登录IP")
    private String loginIp;

    @Schema(description = "最后登录时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] loginDate;

    @Schema(description = "用户昵称", example = "王五")
    private String nickname;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "真实名字", example = "赵六")
    private String name;

    @Schema(description = "用户性别")
    private Integer sex;

    @Schema(description = "所在地", example = "27509")
    private Long areaId;

    @Schema(description = "出生日期")
    private LocalDateTime birthday;

    @Schema(description = "会员备注")
    private String mark;

    @Schema(description = "积分")
    private Long point;

    @Schema(description = "可用余额")
    private BigDecimal balance;

    @Schema(description = "用户标签编号列表，以逗号分隔")
    private List<Integer> tagIds;

    @Schema(description = "等级编号", example = "22294")
    private Long levelId;

    @Schema(description = "经验")
    private Integer experience;

    @Schema(description = "用户分组编号", example = "15084")
    private Long groupId;

    @Schema(description = "支付密码")
    private String payPassword;

    @Schema(description = "银行卡手机号")
    private String bankMobile;

    @Schema(description = "银行卡号", example = "6263")
    private String bankId;

    @Schema(description = "身份证号", example = "21066")
    private String identityId;

    @Schema(description = "身份证照片")
    private String identityPicFont;

    @Schema(description = "身份证照片后")
    private String identityPicBack;

    @Schema(description = "银行卡照片")
    private String bankPic;

    @Schema(description = "营业执照照片")
    private List<String> businessLicensePic;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}